import axios from '@/libs/api.request';

/**
 * 获取支付参数
 */
export const getWxPayInfo = (order_id) => {
  return axios.request({
    url: 'Pay/wxPay',
    method: 'get',
    params:{order_id:order_id}
  })
};
/**
 * 获取支付结果
 * @param order_id
 * @returns {ClientRequest | * | Promise<AxiosResponse<T>> | ClientHttp2Stream}
 */
export const getPayResult = (order_id) => {
  return axios.request({
    url: 'Pay/getPayReuslt',
    method: 'get',
    params:{order_id:order_id}
  })
};


